package com.xncoding.wechat.dto;


import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class FsBankCardRedirectInput {


    @NotBlank(message = "sessionid不能为空")
    private String sessionid;

    @NotBlank(message = "openid不能为空")
    private String openid;

    @NotBlank(message = "bind_tail不能为空")
    private String bindTail; // 卡尾号，逗号分隔，base64编码

    @NotBlank(message = "enc_bankelem不能为空")
    private String encBankelem; // 银行要素块密文

    @NotBlank(message = "appid不能为空")
    private String appid;

    @NotBlank(message = "timestamp不能为空")
    private String timestamp;

    @NotBlank(message = "noncestr不能为空")
    private String noncestr;

    @NotBlank(message = "signtype不能为空")
    private String signtype = "SHA1";

    @NotBlank(message = "paysign不能为空")
    private String paysign;

    public String toParamString() {
        return "";
    }
}



